﻿#pragma once



 
namespace micro{

namespace app{


class QApp
{
private:
	QApp(const QApp&);				// Disable copy construction
	QApp& operator = (const QApp&);	// Disable assignment operator


	QString m_param;
	int		m_nrParams;


protected:
	 
 
	HINSTANCE	m_hInstance;			// handle to the applications instance
 	 
public:
	QApp();
	~QApp(void);	
	int		Run();
	int		MessageLoop();

	virtual		bool InitInstance(){ return true;}
	virtual		void CloseInstance(){   }
	virtual		bool PreTranslateMessage(MSG * ) {  return false; }
				
  
 

};


}

}//micro